﻿using Engine;
using Game;
using Mekiasm.Common;
namespace Mekiasm
{
    public class ChemicalOxidizer : ComplexModelItem
    {
        public static int Index;
        public ChemicalOxidizer() : base(new ModelItem[] {
            new ModelItem("port_west", "ports"), new ModelItem("port_west_led_4", "ports_led"), new ModelItem("port_west_led_3", "ports_led"),
            new ModelItem("port_west_led_2", "ports_led"), new ModelItem("port_west_led_1", "ports_led"),
            new ModelItem("port_large_east", "ports_large"), new ModelItem("port_large_east_led_4", "ports_large_led"),
            new ModelItem("port_large_east_led_3", "ports_large_led"), new ModelItem("port_large_east_led_2", "ports_large_led"),
            new ModelItem("port_large_east_led_1", "ports_large_led"), new ModelItem("bridge", "chemical_oxidizer"),
            new ModelItem("tank", "chemical_oxidizer_elements"), new ModelItem("pipe2", "chemical_oxidizer_elements"),
            new ModelItem("pipe1", "chemical_oxidizer_elements"), new ModelItem("tower2", "chemical_oxidizer_elements"),
            new ModelItem("tower1", "chemical_oxidizer_elements"), new ModelItem("stand", "chemical_oxidizer"),
            new ModelItem("base", "chemical_oxidizer") }, "chemical_oxidizer", "化学氧化机")
        {
            
        }

        public override bool OnUse(Ray3 aim, ComponentMiner componentMiner, TerrainRaycastResult? raycast)
        {
            return false;
        }
        public override void OnBlockAdded(SubsystemBlockBehavior blockBehavior, int value, int oldValue, int x, int y, int z)
        {
        }
        public override void OnBlockGenerated(int value, int x, int y, int z, bool isLoaded)
        {
        }
        public override void OnBlockRemoved(SubsystemBlockBehavior blockBehavior, int value, int newValue, int x, int y, int z)
        {
        }

    }
}
